﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using SYH.Utils;

namespace syh876.com.ajax.Account
{
    /// <summary>
    /// RegisterImgCodeHandler 的摘要说明
    /// </summary>
    public class RegisterImgCodeHandler : IHttpHandler
    {

        public void ProcessRequest(HttpContext context)
        {
            context.Response.ContentType = "text/plain";
            ImgCodeTokenBuilder img = new ImgCodeTokenBuilder();
            context.Response.Write(img.BuilderToken());
            context.Response.End();
        }

        public bool IsReusable
        {
            get
            {
                return false;
            }
        }
    }
}